.class public Lcom/waiqin365/compons/camera/ContinueCameraActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/SurfaceHolder$Callback;
.implements Landroid/view/View$OnClickListener;
.implements Landroid/view/View$OnTouchListener;


# instance fields
.field private A:Z

.field private B:Ljava/lang/String;

.field private C:Z

.field private D:Z

.field private E:I

.field private F:I

.field private G:Z

.field private H:I

.field private I:Landroid/view/SurfaceHolder;

.field private J:Ljava/lang/String;

.field private K:Ljava/lang/String;

.field private L:Z

.field private M:Ljava/lang/String;

.field private N:Ljava/util/ArrayList;

.field private O:Ljava/util/ArrayList;

.field private P:Landroid/view/ScaleGestureDetector;

.field private Q:Landroid/view/GestureDetector;

.field private R:Landroid/widget/ImageButton;

.field private S:Landroid/widget/ImageButton;

.field private T:Z

.field private U:Z

.field private V:Z

.field private W:Ljava/util/List;

.field private X:Ljava/lang/String;

.field private Y:Ljava/lang/String;

.field private Z:Ljava/lang/String;

.field a:Landroid/view/SurfaceView;

.field private aa:Ljava/lang/String;

.field private ab:Ljava/lang/String;

.field private ac:Ljava/lang/String;

.field private ad:Ljava/util/Date;

.field private ae:Ljava/util/Date;

.field private af:Ljava/util/Date;

.field private ag:Z

.field private ah:Lcom/waiqin365/compons/camera/al;

.field private ai:Lcom/waiqin365/compons/c/g;

.field private aj:Lcom/waiqin365/compons/c/f;

.field private ak:J

.field private al:I

.field private am:I

.field private an:Ljava/text/SimpleDateFormat;

.field private ao:Ljava/text/SimpleDateFormat;

.field private ap:I

.field private aq:I

.field private ar:Landroid/hardware/Camera$PictureCallback;

.field private as:Landroid/hardware/Camera$PictureCallback;

.field b:Landroid/view/SurfaceHolder;

.field c:Landroid/widget/ImageView;

.field d:Z

.field e:Landroid/hardware/Camera$AutoFocusCallback;

.field private f:Landroid/hardware/Camera;

.field private g:Landroid/widget/RelativeLayout;

.field private h:Landroid/widget/RelativeLayout;

.field private i:Landroid/widget/ImageView;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/TextView;

.field private m:Landroid/widget/ImageView;

.field private n:Landroid/widget/ImageView;

.field private o:Landroid/widget/SeekBar;

.field private p:I

.field private q:I

.field private r:Landroid/widget/TextView;

.field private s:Ljava/lang/String;

.field private t:Ljava/lang/String;

.field private u:I

.field private v:Lcom/waiqin365/compons/camera/ao;

.field private w:I

.field private x:I

.field private y:Landroid/graphics/Bitmap;

.field private z:Landroid/graphics/Bitmap;


# direct methods
.method public constructor <init>()V
    .locals 4

    const/4 v1, 0x1

    const/4 v0, -0x1

    const/4 v3, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iput v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    iput v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->w:I

    iput v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->x:I

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->D:Z

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->E:I

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->F:I

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->G:Z

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    const-string/jumbo v0, "BACK"

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->J:Ljava/lang/String;

    const-string/jumbo v0, "AUTO"

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->L:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->T:Z

    iput-boolean v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->U:Z

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    iput-boolean v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ag:Z

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ak:J

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm"

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v2

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->an:Ljava/text/SimpleDateFormat;

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd HH:mm:ss SSS"

    sget-object v2, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    invoke-direct {v0, v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ao:Ljava/text/SimpleDateFormat;

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->d:Z

    iput v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aq:I

    new-instance v0, Lcom/waiqin365/compons/camera/ag;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/ag;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ar:Landroid/hardware/Camera$PictureCallback;

    new-instance v0, Lcom/waiqin365/compons/camera/ah;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/ah;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->as:Landroid/hardware/Camera$PictureCallback;

    new-instance v0, Lcom/waiqin365/compons/camera/ak;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/ak;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->e:Landroid/hardware/Camera$AutoFocusCallback;

    return-void
.end method

.method static synthetic A(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aq:I

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->w:I

    return p1
.end method

.method private a(Landroid/graphics/Bitmap;Ljava/util/List;)Landroid/graphics/Bitmap;
    .locals 17

    if-nez p1, :cond_0

    const/4 v1, 0x0

    :goto_0
    return-object v1

    :cond_0
    sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    const/4 v2, 0x1

    move-object/from16 v0, p1

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;

    move-result-object v14

    new-instance v1, Landroid/graphics/Canvas;

    invoke-direct {v1, v14}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getWidth()I

    move-result v2

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getHeight()I

    move-result v3

    invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I

    move-result v2

    int-to-float v2, v2

    const/high16 v3, 0x41f00000    # 30.0f

    div-float v11, v2, v3

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getWidth()I

    move-result v2

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getHeight()I

    move-result v3

    invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I

    move-result v2

    int-to-float v2, v2

    const/high16 v3, 0x42340000    # 45.0f

    div-float v15, v2, v3

    new-instance v4, Landroid/text/TextPaint;

    invoke-direct {v4}, Landroid/text/TextPaint;-><init>()V

    const/4 v2, 0x1

    invoke-virtual {v4, v2}, Landroid/text/TextPaint;->setAntiAlias(Z)V

    invoke-virtual {v4, v11}, Landroid/text/TextPaint;->setTextSize(F)V

    new-instance v16, Ljava/util/ArrayList;

    invoke-direct/range {v16 .. v16}, Ljava/util/ArrayList;-><init>()V

    const/4 v2, 0x0

    move v3, v2

    :goto_1
    if-eqz p2, :cond_1

    invoke-interface/range {p2 .. p2}, Ljava/util/List;->size()I

    move-result v2

    if-ge v3, v2, :cond_1

    move-object/from16 v0, p2

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getWidth()I

    move-result v5

    int-to-float v5, v5

    const/high16 v6, 0x40000000    # 2.0f

    mul-float/2addr v6, v11

    sub-float/2addr v5, v6

    move-object/from16 v0, p0

    invoke-direct {v0, v2, v4, v5}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Ljava/lang/String;Landroid/text/TextPaint;F)Ljava/util/List;

    move-result-object v2

    move-object/from16 v0, v16

    invoke-interface {v0, v2}, Ljava/util/List;->addAll(Ljava/util/Collection;)Z

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto :goto_1

    :cond_1
    new-instance v6, Landroid/graphics/Paint;

    const/4 v2, 0x1

    invoke-direct {v6, v2}, Landroid/graphics/Paint;-><init>(I)V

    const/high16 v2, -0x1000000

    invoke-virtual {v6, v2}, Landroid/graphics/Paint;->setColor(I)V

    const/16 v2, 0x50

    invoke-virtual {v6, v2}, Landroid/graphics/Paint;->setAlpha(I)V

    const/4 v2, 0x0

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getHeight()I

    move-result v3

    int-to-float v3, v3

    invoke-interface/range {v16 .. v16}, Ljava/util/List;->size()I

    move-result v4

    add-int/lit8 v4, v4, 0x2

    int-to-float v4, v4

    mul-float/2addr v4, v11

    sub-float/2addr v3, v4

    invoke-interface/range {v16 .. v16}, Ljava/util/List;->size()I

    move-result v4

    add-int/lit8 v4, v4, -0x1

    int-to-float v4, v4

    mul-float/2addr v4, v15

    sub-float/2addr v3, v4

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getWidth()I

    move-result v4

    int-to-float v4, v4

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getHeight()I

    move-result v5

    int-to-float v5, v5

    invoke-virtual/range {v1 .. v6}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V

    const/4 v2, -0x1

    invoke-virtual {v6, v2}, Landroid/graphics/Paint;->setColor(I)V

    invoke-virtual {v6, v11}, Landroid/graphics/Paint;->setTextSize(F)V

    const/16 v2, 0xff

    invoke-virtual {v6, v2}, Landroid/graphics/Paint;->setAlpha(I)V

    const/4 v2, 0x0

    move v3, v2

    :goto_2
    invoke-interface/range {v16 .. v16}, Ljava/util/List;->size()I

    move-result v2

    if-ge v3, v2, :cond_2

    move-object/from16 v0, v16

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    const/4 v9, 0x0

    move-object/from16 v0, v16

    invoke-interface {v0, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v10

    invoke-virtual {v1}, Landroid/graphics/Canvas;->getHeight()I

    move-result v2

    int-to-float v2, v2

    invoke-interface/range {v16 .. v16}, Ljava/util/List;->size()I

    move-result v4

    sub-int/2addr v4, v3

    int-to-float v4, v4

    mul-float/2addr v4, v11

    sub-float/2addr v2, v4

    invoke-interface/range {v16 .. v16}, Ljava/util/List;->size()I

    move-result v4

    sub-int/2addr v4, v3

    add-int/lit8 v4, v4, -0x1

    int-to-float v4, v4

    mul-float/2addr v4, v15

    sub-float v12, v2, v4

    move-object v7, v1

    move-object v13, v6

    invoke-virtual/range {v7 .. v13}, Landroid/graphics/Canvas;->drawText(Ljava/lang/String;IIFFLandroid/graphics/Paint;)V

    add-int/lit8 v2, v3, 0x1

    move v3, v2

    goto :goto_2

    :cond_2
    const/16 v2, 0x1f

    invoke-virtual {v1, v2}, Landroid/graphics/Canvas;->save(I)I

    invoke-virtual {v1}, Landroid/graphics/Canvas;->restore()V

    move-object v1, v14

    goto/16 :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Landroid/graphics/Bitmap;Ljava/util/List;)Landroid/graphics/Bitmap;
    .locals 1

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Landroid/graphics/Bitmap;Ljava/util/List;)Landroid/graphics/Bitmap;

    move-result-object v0

    return-object v0
.end method

.method private a(Ljava/util/List;II)Landroid/hardware/Camera$Size;
    .locals 16

    move/from16 v0, p2

    int-to-double v2, v0

    move/from16 v0, p3

    int-to-double v4, v0

    div-double v6, v2, v4

    if-nez p1, :cond_1

    const/4 v3, 0x0

    :cond_0
    return-object v3

    :cond_1
    const/4 v3, 0x0

    const-wide v4, 0x7fefffffffffffffL    # Double.MAX_VALUE

    invoke-interface/range {p1 .. p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v8

    :cond_2
    :goto_0
    invoke-interface {v8}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_3

    invoke-interface {v8}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroid/hardware/Camera$Size;

    iget v9, v2, Landroid/hardware/Camera$Size;->width:I

    int-to-double v10, v9

    iget v9, v2, Landroid/hardware/Camera$Size;->height:I

    int-to-double v12, v9

    div-double/2addr v10, v12

    sub-double/2addr v10, v6

    invoke-static {v10, v11}, Ljava/lang/Math;->abs(D)D

    move-result-wide v10

    const-wide v12, 0x3fa999999999999aL    # 0.05

    cmpl-double v9, v10, v12

    if-gtz v9, :cond_2

    iget v9, v2, Landroid/hardware/Camera$Size;->height:I

    sub-int v9, v9, p3

    invoke-static {v9}, Ljava/lang/Math;->abs(I)I

    move-result v9

    int-to-double v10, v9

    cmpg-double v9, v10, v4

    if-gez v9, :cond_5

    iget v3, v2, Landroid/hardware/Camera$Size;->height:I

    sub-int v3, v3, p3

    invoke-static {v3}, Ljava/lang/Math;->abs(I)I

    move-result v3

    int-to-double v4, v3

    move-wide v14, v4

    move-object v4, v2

    move-wide v2, v14

    :goto_1
    move-wide v14, v2

    move-object v3, v4

    move-wide v4, v14

    goto :goto_0

    :cond_3
    if-nez v3, :cond_0

    const-wide v4, 0x7fefffffffffffffL    # Double.MAX_VALUE

    invoke-interface/range {p1 .. p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :goto_2
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Landroid/hardware/Camera$Size;

    iget v7, v2, Landroid/hardware/Camera$Size;->height:I

    sub-int v7, v7, p3

    invoke-static {v7}, Ljava/lang/Math;->abs(I)I

    move-result v7

    int-to-double v8, v7

    cmpg-double v7, v8, v4

    if-gez v7, :cond_4

    iget v3, v2, Landroid/hardware/Camera$Size;->height:I

    sub-int v3, v3, p3

    invoke-static {v3}, Ljava/lang/Math;->abs(I)I

    move-result v3

    int-to-double v4, v3

    move-wide v14, v4

    move-object v4, v2

    move-wide v2, v14

    :goto_3
    move-wide v14, v2

    move-object v3, v4

    move-wide v4, v14

    goto :goto_2

    :cond_4
    move-wide v14, v4

    move-object v4, v3

    move-wide v2, v14

    goto :goto_3

    :cond_5
    move-wide v14, v4

    move-object v4, v3

    move-wide v2, v14

    goto :goto_1
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/hardware/Camera;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Lcom/waiqin365/compons/c/f;)Lcom/waiqin365/compons/c/f;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aj:Lcom/waiqin365/compons/c/f;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ac:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/util/Date;)Ljava/util/Date;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ad:Ljava/util/Date;

    return-object p1
.end method

.method private a(Ljava/lang/String;Landroid/text/TextPaint;F)Ljava/util/List;
    .locals 4

    const/4 v2, 0x0

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    if-eqz p1, :cond_1

    invoke-virtual {p2, p1}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F

    move-result v1

    cmpg-float v1, v1, p3

    if-gtz v1, :cond_1

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    :goto_0
    return-object v0

    :cond_1
    move v1, v2

    :goto_1
    if-eqz p1, :cond_0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v3

    if-ge v1, v3, :cond_0

    invoke-virtual {p1, v2, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {p2, v3}, Landroid/text/TextPaint;->measureText(Ljava/lang/String;)F

    move-result v3

    cmpl-float v3, v3, p3

    if-lez v3, :cond_2

    add-int/lit8 v3, v1, -0x1

    invoke-virtual {p1, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v1, v1, -0x1

    invoke-virtual {p1, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_2
    add-int/lit8 v1, v1, 0x1

    goto :goto_1
.end method

.method private a(Landroid/content/Intent;)V
    .locals 3

    new-instance v0, Lcom/waiqin365/lightapp/view/a/a;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/view/a/a;-><init>()V

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string/jumbo v2, "returnTo"

    invoke-virtual {v1, v2}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/view/a/a;->a:Ljava/lang/String;

    iput-object p1, v0, Lcom/waiqin365/lightapp/view/a/a;->b:Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/util/Observable;->notifyObservers(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->back()V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;[B)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a([B)V

    return-void
.end method

.method private a([B)V
    .locals 8

    const/4 v2, 0x1

    new-instance v7, Landroid/graphics/BitmapFactory$Options;

    invoke-direct {v7}, Landroid/graphics/BitmapFactory$Options;-><init>()V

    if-eqz p1, :cond_3

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i()Landroid/graphics/Matrix;

    move-result-object v5

    :try_start_0
    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    if-eqz v0, :cond_1

    const/4 v0, 0x1

    iput-boolean v0, v7, Landroid/graphics/BitmapFactory$Options;->inJustDecodeBounds:Z

    iget v0, v7, Landroid/graphics/BitmapFactory$Options;->outWidth:I

    iget v1, v7, Landroid/graphics/BitmapFactory$Options;->outHeight:I

    invoke-static {v0, v1}, Ljava/lang/Math;->min(II)I

    move-result v0

    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    div-int/2addr v0, v1

    iput v0, v7, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    iget v0, v7, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    if-gt v0, v2, :cond_0

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->C:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    iput v0, v7, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    :cond_0
    const/4 v0, 0x0

    iput-boolean v0, v7, Landroid/graphics/BitmapFactory$Options;->inJustDecodeBounds:Z

    :cond_1
    const/4 v0, 0x0

    array-length v1, p1

    invoke-static {p1, v0, v1, v7}, Landroid/graphics/BitmapFactory;->decodeByteArray([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v1}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v1

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    if-le v0, v2, :cond_2

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    if-lez v2, :cond_2

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    mul-int/2addr v1, v2

    div-int v0, v1, v0

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    const/4 v3, 0x0

    invoke-static {v1, v2, v0, v3}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    const/4 v6, 0x1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    if-eqz v0, :cond_4

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->D:Z

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->h()V

    :cond_3
    :goto_0
    return-void

    :cond_4
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V
    :try_end_0
    .catch Ljava/lang/OutOfMemoryError; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3

    goto :goto_0

    :catch_0
    move-exception v0

    :try_start_1
    iget v0, v7, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    add-int/lit8 v0, v0, 0x2

    iput v0, v7, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    const/4 v0, 0x0

    array-length v1, p1

    invoke-static {p1, v0, v1, v7}, Landroid/graphics/BitmapFactory;->decodeByteArray([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    const/4 v6, 0x1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    if-nez v0, :cond_5

    const/high16 v0, 0x3f000000    # 0.5f

    const/high16 v1, 0x3f000000    # 0.5f

    invoke-virtual {v5, v0, v1}, Landroid/graphics/Matrix;->postScale(FF)Z

    :cond_5
    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    if-eqz v0, :cond_8

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->D:Z

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->h()V
    :try_end_1
    .catch Ljava/lang/OutOfMemoryError; {:try_start_1 .. :try_end_1} :catch_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_4

    goto :goto_0

    :catch_1
    move-exception v0

    :try_start_2
    iget v0, v7, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    add-int/lit8 v0, v0, 0x2

    iput v0, v7, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    const/4 v0, 0x0

    array-length v1, p1

    invoke-static {p1, v0, v1, v7}, Landroid/graphics/BitmapFactory;->decodeByteArray([BIILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_b

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    const/4 v6, 0x1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    if-nez v0, :cond_6

    const/high16 v0, 0x3f000000    # 0.5f

    const/high16 v1, 0x3f000000    # 0.5f

    invoke-virtual {v5, v0, v1}, Landroid/graphics/Matrix;->postScale(FF)Z

    :cond_6
    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    if-eqz v0, :cond_a

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->D:Z

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->h()V
    :try_end_2
    .catch Ljava/lang/OutOfMemoryError; {:try_start_2 .. :try_end_2} :catch_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_5

    goto :goto_0

    :catch_2
    move-exception v0

    goto :goto_0

    :cond_7
    :try_start_3
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V
    :try_end_3
    .catch Ljava/lang/OutOfMemoryError; {:try_start_3 .. :try_end_3} :catch_0
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3

    goto/16 :goto_0

    :catch_3
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "\u5904\u7406\u7167\u7247Exception"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ao:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "---"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_8
    :try_start_4
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    const/4 v6, 0x1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V

    goto/16 :goto_0

    :catch_4
    move-exception v0

    goto/16 :goto_0

    :cond_9
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V
    :try_end_4
    .catch Ljava/lang/OutOfMemoryError; {:try_start_4 .. :try_end_4} :catch_1
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_4

    goto/16 :goto_0

    :cond_a
    :try_start_5
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v3}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v4}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    const/4 v6, 0x1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V

    goto/16 :goto_0

    :catch_5
    move-exception v0

    goto/16 :goto_0

    :cond_b
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V
    :try_end_5
    .catch Ljava/lang/OutOfMemoryError; {:try_start_5 .. :try_end_5} :catch_2
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_5

    goto/16 :goto_0
.end method

.method static synthetic a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ag:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->w:I

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->x:I

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Landroid/graphics/Bitmap;)Landroid/graphics/Bitmap;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    return-object p1
.end method

.method static synthetic b(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Ljava/util/Date;)Ljava/util/Date;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->af:Ljava/util/Date;

    return-object p1
.end method

.method static synthetic c(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->x:I

    return v0
.end method

.method static synthetic c(Lcom/waiqin365/compons/camera/ContinueCameraActivity;I)I
    .locals 0

    iput p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aq:I

    return p1
.end method

.method private c()V
    .locals 7

    const v4, 0x7f02031a

    const/4 v1, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    new-instance v5, Landroid/graphics/Matrix;

    invoke-direct {v5}, Landroid/graphics/Matrix;-><init>()V

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->w:I

    neg-int v2, v2

    int-to-float v2, v2

    invoke-virtual {v5, v2}, Landroid/graphics/Matrix;->postRotate(F)Z

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const-string/jumbo v3, "AUTO"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-static {v0, v4}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    const/4 v6, 0x1

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    return-void

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const-string/jumbo v3, "ON"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const v2, 0x7f02031c

    invoke-static {v0, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    goto :goto_0

    :cond_1
    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const-string/jumbo v3, "OFF"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    const v2, 0x7f02031b

    invoke-static {v0, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    goto :goto_0

    :cond_2
    invoke-static {v0, v4}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    goto :goto_0
.end method

.method static synthetic d(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/graphics/Bitmap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method private d()V
    .locals 7

    const v4, 0x7f02031a

    const/4 v6, 0x1

    const/4 v1, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    new-instance v5, Landroid/graphics/Matrix;

    invoke-direct {v5}, Landroid/graphics/Matrix;-><init>()V

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->w:I

    neg-int v2, v2

    int-to-float v2, v2

    invoke-virtual {v5, v2}, Landroid/graphics/Matrix;->postRotate(F)Z

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const-string/jumbo v3, "AUTO"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    const-string/jumbo v2, "ON"

    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const v2, 0x7f02031c

    invoke-static {v0, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    :goto_0
    return-void

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const-string/jumbo v3, "ON"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const-string/jumbo v2, "OFF"

    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const v2, 0x7f02031b

    invoke-static {v0, v2}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_0

    :cond_1
    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    const-string/jumbo v3, "OFF"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_2

    const-string/jumbo v2, "AUTO"

    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    invoke-static {v0, v4}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto :goto_0

    :cond_2
    const-string/jumbo v2, "AUTO"

    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    invoke-static {v0, v4}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    goto/16 :goto_0
.end method

.method private delete()V
    .locals 3

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->L:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    new-instance v0, Ljava/io/File;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    :cond_0
    return-void

    :cond_1
    const/4 v0, 0x0

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->O:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->O:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    if-lez v2, :cond_2

    new-instance v2, Ljava/io/File;

    invoke-direct {v2, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2}, Ljava/io/File;->exists()Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {v2}, Ljava/io/File;->delete()Z

    :cond_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0
.end method

.method static synthetic e(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->m:Landroid/widget/ImageView;

    return-object v0
.end method

.method private e()V
    .locals 3

    const/4 v2, 0x0

    const/16 v1, 0x8

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->cancelAutoFocus()V

    :cond_1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "\u5904\u7406\u7167\u7247\u5b8c\u6210:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ao:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    return-object v0
.end method

.method private f()V
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->L:Z

    if-eqz v0, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->e()V

    :goto_0
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ag:Z

    return-void

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->g()V

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    return-object v0
.end method

.method private g()V
    .locals 8

    const/16 v2, 0x64

    const/4 v6, 0x1

    const/16 v7, 0x8

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-static {v0, v2, v2}, Lcom/waiqin365/compons/camera/b/c;->a(Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    new-instance v5, Landroid/graphics/Matrix;

    invoke-direct {v5}, Landroid/graphics/Matrix;-><init>()V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->w:I

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {v5, v0}, Landroid/graphics/Matrix;->postRotate(F)Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    iget v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    sub-int/2addr v3, v4

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->CENTER_CROP:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v7, v7, v7, v7}, Landroid/widget/ImageView;->setPadding(IIII)V

    iput-boolean v6, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->A:Z

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->O:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_2

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->startPreview()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n()V

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->dismissProgressDialog()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->canDetectOrientation()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->enable()V

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->cancelAutoFocus()V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "\u5904\u7406\u7167\u7247\u5b8c\u6210:"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ao:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    :cond_2
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method private h()V
    .locals 7

    const/4 v1, 0x0

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    if-eqz v0, :cond_1

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/e;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ag:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    if-nez v0, :cond_0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q()V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    const-string/jumbo v2, "\u624b\u673a\u65f6\u95f4"

    invoke-virtual {v0, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_5

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ae:Ljava/util/Date;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ae:Ljava/util/Date;

    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ad:Ljava/util/Date;

    invoke-virtual {v0}, Ljava/util/Date;->getTime()J

    move-result-wide v4

    sub-long/2addr v2, v4

    const-wide/16 v4, 0x3e8

    div-long/2addr v2, v4

    long-to-int v0, v2

    const/16 v2, 0x258

    if-le v0, v2, :cond_2

    iget-boolean v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    if-eqz v2, :cond_2

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/e;->a(Landroid/app/Activity;)Z

    move-result v2

    if-eqz v2, :cond_2

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    if-nez v2, :cond_3

    const-string/jumbo v0, "\u6c34\u5370\u56fe\u7247\u91cd\u65b0\u5b9a\u4f4d"

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q()V

    goto :goto_0

    :cond_2
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "between="

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    :cond_3
    if-lez v0, :cond_4

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->af:Ljava/util/Date;

    invoke-virtual {v2, v3}, Ljava/util/Calendar;->setTime(Ljava/util/Date;)V

    const/16 v3, 0xd

    invoke-virtual {v2, v3, v0}, Ljava/util/Calendar;->add(II)V

    invoke-virtual {v2}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->af:Ljava/util/Date;

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->an:Ljava/text/SimpleDateFormat;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->af:Ljava/util/Date;

    invoke-virtual {v0, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ad:Ljava/util/Date;

    :goto_1
    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->D:Z

    if-eqz v0, :cond_6

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i()Landroid/graphics/Matrix;

    move-result-object v5

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    const/4 v6, 0x1

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p()Ljava/util/List;

    move-result-object v1

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Landroid/graphics/Bitmap;Ljava/util/List;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    :goto_2
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V

    goto/16 :goto_0

    :cond_5
    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->an:Ljava/text/SimpleDateFormat;

    invoke-virtual {v3, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, " ( \u624b\u673a\u65f6\u95f4 ) "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ac:Ljava/lang/String;

    goto :goto_1

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p()Ljava/util/List;

    move-result-object v1

    invoke-direct {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Landroid/graphics/Bitmap;Ljava/util/List;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    goto :goto_2
.end method

.method static synthetic h(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->A:Z

    return v0
.end method

.method private i()Landroid/graphics/Matrix;
    .locals 3

    new-instance v0, Landroid/graphics/Matrix;

    invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V

    invoke-virtual {v0}, Landroid/graphics/Matrix;->reset()V

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->J:Ljava/lang/String;

    const-string/jumbo v2, "FRONT"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->x:I

    neg-int v1, v1

    add-int/lit16 v1, v1, 0x10e

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Landroid/graphics/Matrix;->postRotate(F)Z

    const/high16 v1, -0x40800000    # -1.0f

    const/high16 v2, 0x3f800000    # 1.0f

    invoke-virtual {v0, v1, v2}, Landroid/graphics/Matrix;->postScale(FF)Z

    :goto_0
    return-object v0

    :cond_0
    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->x:I

    add-int/lit8 v1, v1, 0x5a

    int-to-float v1, v1

    invoke-virtual {v0, v1}, Landroid/graphics/Matrix;->postRotate(F)Z

    goto :goto_0
.end method

.method static synthetic i(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r:Landroid/widget/TextView;

    return-object v0
.end method

.method private j()Ljava/lang/String;
    .locals 4

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v0

    invoke-virtual {v0}, Landroid/hardware/Camera$Parameters;->getPictureFormat()I

    move-result v0

    const/16 v1, 0x100

    if-ne v0, v1, :cond_1

    invoke-static {}, Landroid/os/Environment;->getExternalStorageState()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v1, "mounted"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyyMMddHHmmssSSS"

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->t:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "_"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v2

    invoke-virtual {v2}, Lcom/fiberhome/gaea/client/c/b;->m()Ljava/lang/String;

    move-result-object v2

    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/fiberhome/gaea/client/c/b;->m()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v3

    add-int/lit8 v3, v3, -0x8

    invoke-virtual {v2, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "_CAMERA"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ".jpg"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    const/16 v2, 0x64

    invoke-static {v1, v2, v0}, Lcom/waiqin365/compons/camera/b/a;->a(Landroid/graphics/Bitmap;ILjava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    :goto_0
    return-object v0

    :cond_0
    const-string/jumbo v0, "\u56fe\u7247\u4fdd\u5b58\u5931\u8d25,\u8bf7\u91cd\u8bd5!"

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_1
    const/4 v0, 0x0

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_1
.end method

.method static synthetic j(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->T:Z

    return v0
.end method

.method static synthetic k(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    return v0
.end method

.method private k()V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/hardware/Camera;->setPreviewCallback(Landroid/hardware/Camera$PreviewCallback;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->stopPreview()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->release()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->disable()V

    :cond_1
    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    :cond_2
    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    :cond_3
    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method static synthetic l(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    return v0
.end method

.method private l()V
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "dir"

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/4 v0, -0x1

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->setResult(ILandroid/content/Intent;)V

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "dir"

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-direct {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic m(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/graphics/Bitmap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method private m()V
    .locals 9

    const/16 v8, 0x64

    const/4 v6, 0x1

    const/16 v7, 0x8

    const/4 v1, 0x0

    new-instance v0, Ljava/io/File;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->t:Ljava/lang/String;

    invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_3

    new-instance v2, Lcom/waiqin365/compons/camera/aj;

    invoke-direct {v2, p0}, Lcom/waiqin365/compons/camera/aj;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    invoke-virtual {v0, v2}, Ljava/io/File;->listFiles(Ljava/io/FilenameFilter;)[Ljava/io/File;

    move-result-object v2

    array-length v0, v2

    if-lez v0, :cond_3

    array-length v0, v2

    new-array v3, v0, [Lcom/waiqin365/compons/camera/a/b;

    move v0, v1

    :goto_0
    array-length v4, v2

    if-ge v0, v4, :cond_0

    new-instance v4, Lcom/waiqin365/compons/camera/a/b;

    aget-object v5, v2, v0

    invoke-direct {v4, v5}, Lcom/waiqin365/compons/camera/a/b;-><init>(Ljava/io/File;)V

    aput-object v4, v3, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    invoke-static {v3}, Ljava/util/Arrays;->sort([Ljava/lang/Object;)V

    move v0, v1

    :goto_1
    array-length v4, v2

    if-ge v0, v4, :cond_1

    aget-object v4, v3, v0

    invoke-virtual {v4}, Lcom/waiqin365/compons/camera/a/b;->a()Ljava/io/File;

    move-result-object v4

    aput-object v4, v2, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_1
    array-length v0, v2

    add-int/lit8 v0, v0, -0x1

    aget-object v0, v2, v0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    new-instance v2, Landroid/graphics/BitmapFactory$Options;

    invoke-direct {v2}, Landroid/graphics/BitmapFactory$Options;-><init>()V

    iput-boolean v6, v2, Landroid/graphics/BitmapFactory$Options;->inJustDecodeBounds:Z

    invoke-static {v0, v2}, Landroid/graphics/BitmapFactory;->decodeFile(Ljava/lang/String;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    const/4 v3, -0x1

    const/16 v4, 0x2710

    invoke-static {v2, v3, v4}, Lcom/waiqin365/compons/camera/b/b;->a(Landroid/graphics/BitmapFactory$Options;II)I

    move-result v3

    iput v3, v2, Landroid/graphics/BitmapFactory$Options;->inSampleSize:I

    iput-boolean v1, v2, Landroid/graphics/BitmapFactory$Options;->inJustDecodeBounds:Z

    :try_start_0
    new-instance v3, Ljava/io/FileInputStream;

    invoke-direct {v3, v0}, Ljava/io/FileInputStream;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/io/FileInputStream;->getFD()Ljava/io/FileDescriptor;

    move-result-object v0

    const/4 v3, 0x0

    invoke-static {v0, v3, v2}, Landroid/graphics/BitmapFactory;->decodeFileDescriptor(Ljava/io/FileDescriptor;Landroid/graphics/Rect;Landroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->z:Landroid/graphics/Bitmap;

    invoke-static {v0, v8, v8}, Lcom/waiqin365/compons/camera/b/c;->a(Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    new-instance v5, Landroid/graphics/Matrix;

    invoke-direct {v5}, Landroid/graphics/Matrix;-><init>()V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->w:I

    neg-int v0, v0

    int-to-float v0, v0

    invoke-virtual {v5, v0}, Landroid/graphics/Matrix;->postRotate(F)Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v3

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v4

    move v2, v1

    invoke-static/range {v0 .. v6}, Landroid/graphics/Bitmap;->createBitmap(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v7}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    iget v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    sub-int/2addr v3, v4

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "/"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->y:Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->CENTER_CROP:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v7, v7, v7, v7}, Landroid/widget/ImageView;->setPadding(IIII)V

    :cond_2
    iput-boolean v6, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->A:Z

    :cond_3
    return-void

    :catch_0
    move-exception v0

    goto :goto_2
.end method

.method private n()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v0

    invoke-virtual {v0}, Landroid/hardware/Camera$Parameters;->getSupportedFocusModes()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string/jumbo v1, "auto"

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/hardware/Camera;->autoFocus(Landroid/hardware/Camera$AutoFocusCallback;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method static synthetic n(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n()V

    return-void
.end method

.method static synthetic o(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/widget/SeekBar;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o:Landroid/widget/SeekBar;

    return-object v0
.end method

.method private o()V
    .locals 13

    const/4 v3, 0x0

    invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v2, 0x9

    if-ge v0, v2, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    :try_start_0
    const-class v0, Landroid/hardware/Camera;

    invoke-virtual {v0}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;

    move-result-object v4

    array-length v5, v4
    :try_end_0
    .catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_c

    move v2, v3

    move-object v0, v1

    :goto_1
    if-ge v2, v5, :cond_3

    :try_start_1
    aget-object v1, v4, v2

    invoke-virtual {v1}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;

    move-result-object v6

    const-string/jumbo v7, "getNumberOfCameras"

    invoke-virtual {v6, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
    :try_end_1
    .catch Ljava/lang/SecurityException; {:try_start_1 .. :try_end_1} :catch_1

    move-result v6

    if-eqz v6, :cond_2

    const/4 v6, 0x0

    :try_start_2
    new-array v6, v6, [Ljava/lang/Object;

    invoke-virtual {v1, v1, v6}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_2
    .catch Ljava/lang/IllegalArgumentException; {:try_start_2 .. :try_end_2} :catch_0
    .catch Ljava/lang/IllegalAccessException; {:try_start_2 .. :try_end_2} :catch_2
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_2 .. :try_end_2} :catch_3
    .catch Ljava/lang/SecurityException; {:try_start_2 .. :try_end_2} :catch_1

    move-result-object v0

    :cond_2
    :goto_2
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_1

    :catch_0
    move-exception v1

    :try_start_3
    invoke-virtual {v1}, Ljava/lang/IllegalArgumentException;->printStackTrace()V
    :try_end_3
    .catch Ljava/lang/SecurityException; {:try_start_3 .. :try_end_3} :catch_1

    goto :goto_2

    :catch_1
    move-exception v1

    :goto_3
    invoke-virtual {v1}, Ljava/lang/SecurityException;->printStackTrace()V

    :cond_3
    invoke-static {v0, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/Object;I)I

    move-result v5

    :try_start_4
    const-string/jumbo v0, "android.hardware.Camera"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    move v4, v3

    :goto_4
    if-ge v4, v5, :cond_0

    const-class v1, Landroid/hardware/Camera;

    invoke-virtual {v1}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;

    move-result-object v6

    array-length v7, v6

    move v2, v3

    :goto_5
    if-ge v2, v7, :cond_7

    aget-object v1, v6, v2

    invoke-virtual {v1}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;

    move-result-object v8

    const-string/jumbo v9, "getCameraInfo"

    invoke-virtual {v8, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v8

    if-eqz v8, :cond_6

    const-string/jumbo v8, "android.hardware.Camera$CameraInfo"

    invoke-static {v8}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v8

    const/4 v9, 0x0

    new-array v9, v9, [Ljava/lang/Class;

    invoke-virtual {v8, v9}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;

    move-result-object v8

    const/4 v9, 0x0

    new-array v9, v9, [Ljava/lang/Object;

    invoke-virtual {v8, v9}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v8

    const/4 v9, 0x2

    new-array v9, v9, [Ljava/lang/Object;

    const/4 v10, 0x0

    invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v11

    aput-object v11, v9, v10

    const/4 v10, 0x1

    aput-object v8, v9, v10

    invoke-virtual {v1, v0, v9}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v8}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    const-string/jumbo v1, "android.hardware.Camera$CameraInfo"

    invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v1

    const-string/jumbo v9, "CAMERA_FACING_FRONT"

    invoke-virtual {v1, v9}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v9

    const/4 v10, 0x0

    invoke-virtual {v9, v10}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I

    move-result v9

    const-string/jumbo v10, "facing"

    invoke-virtual {v0, v10}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    invoke-virtual {v0, v8}, Ljava/lang/reflect/Field;->getInt(Ljava/lang/Object;)I

    move-result v8

    if-ne v8, v9, :cond_4

    iput v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->E:I

    :cond_4
    const-string/jumbo v0, "CAMERA_FACING_BACK"

    invoke-virtual {v1, v0}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    const/4 v9, 0x0

    invoke-virtual {v0, v9}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    if-ne v8, v0, :cond_5

    iput v4, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->F:I
    :try_end_4
    .catch Ljava/lang/InstantiationException; {:try_start_4 .. :try_end_4} :catch_4
    .catch Ljava/lang/IllegalArgumentException; {:try_start_4 .. :try_end_4} :catch_5
    .catch Ljava/lang/NoSuchMethodException; {:try_start_4 .. :try_end_4} :catch_6
    .catch Ljava/lang/NoSuchFieldException; {:try_start_4 .. :try_end_4} :catch_7
    .catch Ljava/lang/SecurityException; {:try_start_4 .. :try_end_4} :catch_8
    .catch Ljava/lang/ClassNotFoundException; {:try_start_4 .. :try_end_4} :catch_9
    .catch Ljava/lang/IllegalAccessException; {:try_start_4 .. :try_end_4} :catch_a
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_4 .. :try_end_4} :catch_b

    :cond_5
    move-object v0, v1

    :cond_6
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto :goto_5

    :catch_2
    move-exception v1

    :try_start_5
    invoke-virtual {v1}, Ljava/lang/IllegalAccessException;->printStackTrace()V

    goto/16 :goto_2

    :catch_3
    move-exception v1

    invoke-virtual {v1}, Ljava/lang/reflect/InvocationTargetException;->printStackTrace()V
    :try_end_5
    .catch Ljava/lang/SecurityException; {:try_start_5 .. :try_end_5} :catch_1

    goto/16 :goto_2

    :cond_7
    add-int/lit8 v1, v4, 0x1

    move v4, v1

    goto/16 :goto_4

    :catch_4
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/InstantiationException;->printStackTrace()V

    goto/16 :goto_0

    :catch_5
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/IllegalArgumentException;->printStackTrace()V

    goto/16 :goto_0

    :catch_6
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/NoSuchMethodException;->printStackTrace()V

    goto/16 :goto_0

    :catch_7
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/NoSuchFieldException;->printStackTrace()V

    goto/16 :goto_0

    :catch_8
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/SecurityException;->printStackTrace()V

    goto/16 :goto_0

    :catch_9
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/ClassNotFoundException;->printStackTrace()V

    goto/16 :goto_0

    :catch_a
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/IllegalAccessException;->printStackTrace()V

    goto/16 :goto_0

    :catch_b
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/reflect/InvocationTargetException;->printStackTrace()V

    goto/16 :goto_0

    :catch_c
    move-exception v0

    move-object v12, v0

    move-object v0, v1

    move-object v1, v12

    goto/16 :goto_3
.end method

.method private p()Ljava/util/List;
    .locals 12

    const-wide v10, 0x408f400000000000L    # 1000.0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Y:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Y:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Z:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Z:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->X:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->X:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, " "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_2
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ac:Ljava/lang/String;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ac:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aa:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aa:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_3

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aa:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v2

    const/4 v0, 0x0

    aget-object v0, v2, v0

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v0

    const/4 v3, 0x1

    aget-object v2, v2, v3

    invoke-static {v2}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v2

    const/4 v4, 0x1

    iget-object v5, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aj:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v5}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v5

    iget-object v7, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aj:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v7}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v7

    const/4 v9, 0x1

    invoke-static/range {v0 .. v9}, Lcom/waiqin365/compons/c/m;->a(DDIDDI)D

    move-result-wide v0

    new-instance v2, Ljava/text/DecimalFormat;

    const-string/jumbo v3, "0.00"

    invoke-direct {v2, v3}, Ljava/text/DecimalFormat;-><init>(Ljava/lang/String;)V

    const-string/jumbo v3, ""

    cmpl-double v3, v0, v10

    if-ltz v3, :cond_7

    div-double/2addr v0, v10

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "\u504f\u5dee"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v2, v0, v1}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\u516c\u91cc"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_2
    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_3
    :goto_3
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    return-object v0

    :cond_4
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->X:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ab:Ljava/lang/String;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_0

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->W:Ljava/util/List;

    const-string/jumbo v1, ""

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto/16 :goto_1

    :cond_7
    :try_start_1
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v4, "\u504f\u5dee"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v2, v0, v1}, Ljava/text/DecimalFormat;->format(D)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\u7c73"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v0

    goto :goto_2

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "getPicInfoData"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ao:Ljava/text/SimpleDateFormat;

    invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;

    move-result-object v3

    invoke-virtual {v3}, Ljava/util/Calendar;->getTime()Ljava/util/Date;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "---"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Exception;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    goto :goto_3
.end method

.method static synthetic p(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r()V

    return-void
.end method

.method static synthetic q(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Lcom/waiqin365/compons/c/f;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aj:Lcom/waiqin365/compons/c/f;

    return-object v0
.end method

.method private q()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ah:Lcom/waiqin365/compons/camera/al;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/camera/al;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/al;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ah:Lcom/waiqin365/compons/camera/al;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/compons/c/g;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ah:Lcom/waiqin365/compons/camera/al;

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/c/g;-><init>(Lcom/waiqin365/compons/c/l;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->c()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    const/16 v1, 0x2710

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/g;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0, p0}, Lcom/waiqin365/compons/c/g;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->e()V

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ak:J

    return-void
.end method

.method static synthetic r(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/util/Date;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->af:Ljava/util/Date;

    return-object v0
.end method

.method private r()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->f()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    :cond_0
    return-void
.end method

.method static synthetic s(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/text/SimpleDateFormat;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->an:Ljava/text/SimpleDateFormat;

    return-object v0
.end method

.method static synthetic t(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->D:Z

    return v0
.end method

.method static synthetic u(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/graphics/Matrix;
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i()Landroid/graphics/Matrix;

    move-result-object v0

    return-object v0
.end method

.method static synthetic v(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Ljava/util/List;
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p()Ljava/util/List;

    move-result-object v0

    return-object v0
.end method

.method static synthetic w(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f()V

    return-void
.end method

.method static synthetic x(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->L:Z

    return v0
.end method

.method static synthetic y(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    add-int/lit8 v1, v0, -0x1

    iput v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    return v0
.end method

.method static synthetic z(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aq:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aq:I

    return v0
.end method


# virtual methods
.method public a()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_1

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->disable()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->as:Landroid/hardware/Camera$PictureCallback;

    invoke-virtual {v0, v1, v2, v3}, Landroid/hardware/Camera;->takePicture(Landroid/hardware/Camera$ShutterCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method a(ILjava/lang/String;)V
    .locals 11

    const/16 v1, 0x5a

    const/4 v10, 0x1

    const/4 v3, 0x0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-nez v0, :cond_0

    if-gez p1, :cond_4

    invoke-static {}, Landroid/hardware/Camera;->open()Landroid/hardware/Camera;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    :cond_0
    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->I:Landroid/view/SurfaceHolder;

    invoke-virtual {v0, v2}, Landroid/hardware/Camera;->setPreviewDisplay(Landroid/view/SurfaceHolder;)V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v4

    sget-object v0, Landroid/os/Build;->MODEL:Ljava/lang/String;

    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const-string/jumbo v5, "Nexus 5X"

    invoke-virtual {v5, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_14

    const/16 v0, 0x17

    if-lt v2, v0, :cond_14

    new-instance v0, Landroid/hardware/Camera$CameraInfo;

    invoke-direct {v0}, Landroid/hardware/Camera$CameraInfo;-><init>()V

    invoke-static {p1, v0}, Landroid/hardware/Camera;->getCameraInfo(ILandroid/hardware/Camera$CameraInfo;)V

    iget v0, v0, Landroid/hardware/Camera$CameraInfo;->facing:I

    if-ne v0, v10, :cond_6

    move v0, v1

    :goto_1
    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v2, v0}, Landroid/hardware/Camera;->setDisplayOrientation(I)V

    invoke-virtual {v4}, Landroid/hardware/Camera$Parameters;->getSupportedPreviewSizes()Ljava/util/List;

    move-result-object v0

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v5, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-direct {p0, v0, v2, v5}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Ljava/util/List;II)Landroid/hardware/Camera$Size;

    move-result-object v0

    if-eqz v0, :cond_1

    iget v2, v0, Landroid/hardware/Camera$Size;->width:I

    iput v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v0, v0, Landroid/hardware/Camera$Size;->height:I

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    :cond_1
    invoke-static {}, Lcom/fiberhome/gaea/client/c/b;->b()Lcom/fiberhome/gaea/client/c/b;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/c/b;->q()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v2, "5855"

    invoke-virtual {v2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-virtual {v4, v0, v2}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-virtual {v4, v0, v2}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    :cond_2
    :goto_2
    const/16 v0, 0x100

    invoke-virtual {v4, v0}, Landroid/hardware/Camera$Parameters;->setPictureFormat(I)V

    const-string/jumbo v0, "jpeg-quality"

    invoke-virtual {v4, v0, v1}, Landroid/hardware/Camera$Parameters;->set(Ljava/lang/String;I)V

    invoke-virtual {v4}, Landroid/hardware/Camera$Parameters;->getSupportedFlashModes()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_11

    const-string/jumbo v1, "auto"

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_11

    const-string/jumbo v1, "AUTO"

    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_11

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->U:Z

    if-eqz v0, :cond_10

    sget-object v0, Landroid/os/Build;->MANUFACTURER:Ljava/lang/String;

    const-string/jumbo v1, "HUAWEI"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_10

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->U:Z

    :cond_3
    :goto_3
    :try_start_1
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0, v4}, Landroid/hardware/Camera;->setParameters(Landroid/hardware/Camera$Parameters;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_2

    :goto_4
    return-void

    :cond_4
    :try_start_2
    const-string/jumbo v0, "android.hardware.Camera"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;

    move-result-object v4

    array-length v5, v4

    move v0, v3

    :goto_5
    if-ge v0, v5, :cond_0

    aget-object v6, v4, v0

    invoke-virtual {v6}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6}, Ljava/lang/reflect/Method;->getParameterTypes()[Ljava/lang/Class;

    move-result-object v8

    const-string/jumbo v9, "open"

    invoke-virtual {v7, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_5

    array-length v7, v8

    if-lez v7, :cond_5

    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Object;

    const/4 v4, 0x0

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v5

    aput-object v5, v0, v4

    invoke-virtual {v6, v2, v0}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    goto/16 :goto_0

    :catch_0
    move-exception v0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->release()V

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    goto :goto_4

    :cond_5
    add-int/lit8 v0, v0, 0x1

    goto :goto_5

    :catch_1
    move-exception v0

    const-string/jumbo v0, "\u62cd\u7167\u529f\u80fd\u88ab\u7981\u6b62\uff0c\u8bf7\u5728\u5b89\u5168\u8f6f\u4ef6\u4e2d\u6388\u4e88\u62cd\u7167\u6743\u9650\u540e\u518d\u8bd5\uff01"

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_4

    :cond_6
    const/16 v0, 0x10e

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v2}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v2

    const-string/jumbo v5, "rotation"

    const/16 v6, 0xb4

    invoke-virtual {v2, v5, v6}, Landroid/hardware/Camera$Parameters;->set(Ljava/lang/String;I)V

    iget-object v5, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v5, v2}, Landroid/hardware/Camera;->setParameters(Landroid/hardware/Camera$Parameters;)V

    goto/16 :goto_1

    :cond_7
    invoke-virtual {v4}, Landroid/hardware/Camera$Parameters;->getSupportedPictureSizes()Ljava/util/List;

    move-result-object v5

    if-eqz v5, :cond_f

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v6

    if-lez v6, :cond_e

    new-instance v0, Lcom/waiqin365/compons/camera/ai;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/camera/ai;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    invoke-static {v5, v0}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->C:Z

    if-eqz v0, :cond_b

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    if-nez v0, :cond_9

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v0

    if-ne v0, v10, :cond_8

    add-int/lit8 v0, v6, -0x1

    invoke-interface {v5, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v2, v0, Landroid/hardware/Camera$Size;->width:I

    add-int/lit8 v0, v6, -0x1

    invoke-interface {v5, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v0, v0, Landroid/hardware/Camera$Size;->height:I

    invoke-virtual {v4, v2, v0}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    invoke-virtual {v4, v2, v0}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    goto/16 :goto_2

    :cond_8
    add-int/lit8 v0, v6, -0x2

    invoke-interface {v5, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v2, v0, Landroid/hardware/Camera$Size;->width:I

    add-int/lit8 v0, v6, -0x2

    invoke-interface {v5, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v0, v0, Landroid/hardware/Camera$Size;->height:I

    invoke-virtual {v4, v2, v0}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    invoke-virtual {v4, v2, v0}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    goto/16 :goto_2

    :cond_9
    move v2, v3

    :goto_6
    if-ge v2, v6, :cond_2

    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v7, v0, Landroid/hardware/Camera$Size;->width:I

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    if-lt v7, v0, :cond_a

    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v0, v0, Landroid/hardware/Camera$Size;->height:I

    invoke-virtual {v4, v7, v0}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    invoke-virtual {v4, v7, v0}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    goto/16 :goto_2

    :cond_a
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_6

    :cond_b
    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    if-nez v0, :cond_c

    div-int/lit8 v0, v6, 0x2

    add-int/lit8 v0, v0, 0x1

    if-lt v0, v6, :cond_13

    add-int/lit8 v0, v6, -0x1

    move v2, v0

    :goto_7
    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v6, v0, Landroid/hardware/Camera$Size;->width:I

    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v0, v0, Landroid/hardware/Camera$Size;->height:I

    invoke-virtual {v4, v6, v0}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    invoke-virtual {v4, v6, v0}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    goto/16 :goto_2

    :cond_c
    move v2, v3

    :goto_8
    if-ge v2, v6, :cond_2

    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v7, v0, Landroid/hardware/Camera$Size;->width:I

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    if-lt v7, v0, :cond_d

    invoke-interface {v5, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/hardware/Camera$Size;

    iget v0, v0, Landroid/hardware/Camera$Size;->height:I

    invoke-virtual {v4, v7, v0}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    invoke-virtual {v4, v7, v0}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    goto/16 :goto_2

    :cond_d
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_8

    :cond_e
    const-string/jumbo v0, "getSupportedPictureSizes size\u4e3a0"

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-virtual {v4, v0, v2}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-virtual {v4, v0, v2}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    goto/16 :goto_2

    :cond_f
    const-string/jumbo v0, "getSupportedPictureSizes \u4e3a\u7a7a"

    invoke-static {v0}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-virtual {v4, v0, v2}, Landroid/hardware/Camera$Parameters;->setPictureSize(II)V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-virtual {v4, v0, v2}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    goto/16 :goto_2

    :cond_10
    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->U:Z

    const-string/jumbo v0, "auto"

    invoke-virtual {v4, v0}, Landroid/hardware/Camera$Parameters;->setFlashMode(Ljava/lang/String;)V

    goto/16 :goto_3

    :cond_11
    if-eqz v0, :cond_12

    const-string/jumbo v1, "on"

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_12

    const-string/jumbo v1, "ON"

    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_12

    const-string/jumbo v0, "on"

    invoke-virtual {v4, v0}, Landroid/hardware/Camera$Parameters;->setFlashMode(Ljava/lang/String;)V

    goto/16 :goto_3

    :cond_12
    if-eqz v0, :cond_3

    const-string/jumbo v1, "off"

    invoke-interface {v0, v1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "OFF"

    invoke-virtual {p2, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    const-string/jumbo v0, "off"

    invoke-virtual {v4, v0}, Landroid/hardware/Camera$Parameters;->setFlashMode(Ljava/lang/String;)V

    goto/16 :goto_3

    :catch_2
    move-exception v0

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    invoke-virtual {v4, v0, v1}, Landroid/hardware/Camera$Parameters;->setPreviewSize(II)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0, v4}, Landroid/hardware/Camera;->setParameters(Landroid/hardware/Camera$Parameters;)V

    goto/16 :goto_4

    :cond_13
    move v2, v0

    goto/16 :goto_7

    :cond_14
    move v0, v1

    goto/16 :goto_1
.end method

.method public b()V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_1

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->disable()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    const/4 v1, 0x0

    const/4 v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ar:Landroid/hardware/Camera$PictureCallback;

    invoke-virtual {v0, v1, v2, v3}, Landroid/hardware/Camera;->takePicture(Landroid/hardware/Camera$ShutterCallback;Landroid/hardware/Camera$PictureCallback;Landroid/hardware/Camera$PictureCallback;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 4

    const/16 v3, 0x8

    const/4 v2, 0x0

    sparse-switch p2, :sswitch_data_0

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->enable()V

    :cond_0
    invoke-super {p0, p1, p2, p3}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onActivityResult(IILandroid/content/Intent;)V

    return-void

    :sswitch_0
    const-string/jumbo v0, "isrefresh"

    invoke-virtual {p3, v0, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_2

    const-string/jumbo v0, "selectedListNum"

    invoke-virtual {p3, v0, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    sub-int/2addr v1, v0

    iput v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    if-lez v0, :cond_1

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->m()V

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->T:Z

    goto :goto_0

    :cond_1
    iput-boolean v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->T:Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setVisibility(I)V

    iput-boolean v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->T:Z

    iput-boolean v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->A:Z

    goto :goto_0

    :sswitch_1
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->l()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k()V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        -0x1 -> :sswitch_0
        0x64 -> :sswitch_1
    .end sparse-switch
.end method

.method public onBackPressed()V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->delete()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k()V

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onBackPressed()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 9

    const/16 v2, 0x5a

    const/16 v5, 0x8

    const/16 v0, 0x64

    const/4 v4, 0x1

    const/4 v1, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v3

    sparse-switch v3, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    if-lez v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v0

    invoke-virtual {v0}, Landroid/hardware/Camera$Parameters;->getFlashMode()Ljava/lang/String;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v3, "**************\u95ea\u5149\u706f\u6a21\u5f0f :"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "****************"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ap:I

    add-int/lit8 v1, v1, 0x1

    iput v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ap:I

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v2, "**************\u7b2c"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ap:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "\u5f20****************"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/fiberhome/gaea/client/d/d;->a(Ljava/lang/String;)V

    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->T:Z

    const-string/jumbo v1, "\u4fdd\u5b58\u4e2d..."

    invoke-virtual {p0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->showProgressDialog(Ljava/lang/String;)V

    if-eqz v0, :cond_1

    const-string/jumbo v1, "on"

    invoke-virtual {v0}, Landroid/hardware/Camera$Parameters;->getFlashMode()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->d:Z

    if-nez v0, :cond_0

    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->d:Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->e:Landroid/hardware/Camera$AutoFocusCallback;

    invoke-virtual {v0, v1}, Landroid/hardware/Camera;->autoFocus(Landroid/hardware/Camera$AutoFocusCallback;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto/16 :goto_0

    :cond_1
    :try_start_1
    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->L:Z

    if-eqz v0, :cond_2

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b()V

    goto/16 :goto_0

    :cond_2
    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    add-int/lit8 v0, v0, -0x1

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto/16 :goto_0

    :cond_3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "\u60a8\u6700\u591a\u53ea\u80fd\u62cd"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\u5f20\u7167\u7247"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :sswitch_1
    new-instance v0, Ljava/io/File;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->t:Ljava/lang/String;

    invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v2

    if-eqz v2, :cond_0

    new-instance v2, Lcom/waiqin365/compons/camera/af;

    invoke-direct {v2, p0}, Lcom/waiqin365/compons/camera/af;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    invoke-virtual {v0, v2}, Ljava/io/File;->listFiles(Ljava/io/FilenameFilter;)[Ljava/io/File;

    move-result-object v2

    array-length v0, v2

    if-lez v0, :cond_0

    array-length v0, v2

    new-array v3, v0, [Lcom/waiqin365/compons/camera/a/b;

    move v0, v1

    :goto_1
    array-length v4, v2

    if-ge v0, v4, :cond_4

    new-instance v4, Lcom/waiqin365/compons/camera/a/b;

    aget-object v5, v2, v0

    invoke-direct {v4, v5}, Lcom/waiqin365/compons/camera/a/b;-><init>(Ljava/io/File;)V

    aput-object v4, v3, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_1

    :cond_4
    invoke-static {v3}, Ljava/util/Arrays;->sort([Ljava/lang/Object;)V

    move v0, v1

    :goto_2
    array-length v4, v2

    if-ge v0, v4, :cond_5

    aget-object v4, v3, v0

    invoke-virtual {v4}, Lcom/waiqin365/compons/camera/a/b;->a()Ljava/io/File;

    move-result-object v4

    aput-object v4, v2, v0

    add-int/lit8 v0, v0, 0x1

    goto :goto_2

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->disable()V

    :cond_6
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    new-instance v4, Ljava/util/ArrayList;

    invoke-direct {v4}, Ljava/util/ArrayList;-><init>()V

    move v0, v1

    :goto_3
    array-length v5, v2

    if-ge v0, v5, :cond_8

    iget-object v5, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->N:Ljava/util/ArrayList;

    aget-object v6, v2, v0

    invoke-virtual {v6}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v5, v6}, Ljava/util/ArrayList;->contains(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_7

    new-instance v5, Ljava/util/HashMap;

    invoke-direct {v5}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v6, "image_id"

    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v7

    const-string/jumbo v8, ""

    invoke-virtual {v7, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v6, "path"

    aget-object v7, v2, v0

    invoke-virtual {v7}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-virtual {v3, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v6, ""

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_7
    add-int/lit8 v0, v0, 0x1

    goto :goto_3

    :cond_8
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    new-instance v2, Landroid/os/Bundle;

    invoke-direct {v2}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v5, "from"

    const-string/jumbo v6, "camera"

    invoke-virtual {v2, v5, v6}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    const-string/jumbo v5, "position"

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v6

    add-int/lit8 v6, v6, -0x1

    invoke-virtual {v0, v5, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;I)Landroid/content/Intent;

    const-string/jumbo v5, "photolist"

    invoke-virtual {v0, v5, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v3, "idList"

    invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-class v3, Lcom/waiqin365/compons/camera/CameraPreviewActivity;

    invoke-virtual {v0, p0, v3}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    invoke-virtual {v0, v2}, Landroid/content/Intent;->putExtras(Landroid/os/Bundle;)Landroid/content/Intent;

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->startActivityForResult(Landroid/content/Intent;I)V

    const v0, 0x7f040027

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->overridePendingTransition(II)V

    goto/16 :goto_0

    :sswitch_2
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->l()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k()V

    goto/16 :goto_0

    :sswitch_3
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->delete()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k()V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Landroid/content/Intent;)V

    goto/16 :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    if-eqz v0, :cond_9

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_9

    new-instance v0, Ljava/io/File;

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->M:Ljava/lang/String;

    invoke-direct {v0, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->delete()Z

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->h:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->g:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    :try_start_2
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->startPreview()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n()V
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_4

    :goto_4
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->canDetectOrientation()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->enable()V

    goto/16 :goto_0

    :sswitch_5
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->J:Ljava/lang/String;

    const-string/jumbo v3, "BACK"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_b

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->E:I

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    const-string/jumbo v0, "FRONT"

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->J:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v5}, Landroid/widget/ImageView;->setVisibility(I)V

    :goto_5
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_a

    :try_start_3
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->stopPreview()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->release()V
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3

    :goto_6
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    :cond_a
    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(ILjava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_0

    :try_start_4
    sget-object v0, Landroid/os/Build;->MODEL:Ljava/lang/String;

    sget v1, Landroid/os/Build$VERSION;->SDK_INT:I

    const-string/jumbo v3, "Nexus 5X"

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_12

    const/16 v0, 0x17

    if-lt v1, v0, :cond_12

    new-instance v0, Landroid/hardware/Camera$CameraInfo;

    invoke-direct {v0}, Landroid/hardware/Camera$CameraInfo;-><init>()V

    iget v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    invoke-static {v1, v0}, Landroid/hardware/Camera;->getCameraInfo(ILandroid/hardware/Camera$CameraInfo;)V

    iget v0, v0, Landroid/hardware/Camera$CameraInfo;->facing:I

    if-ne v0, v4, :cond_c

    move v0, v2

    :goto_7
    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v1, v0}, Landroid/hardware/Camera;->setDisplayOrientation(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->startPreview()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n()V
    :try_end_4
    .catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_1

    goto/16 :goto_0

    :catch_1
    move-exception v0

    goto/16 :goto_0

    :cond_b
    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->F:I

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    const-string/jumbo v0, "BACK"

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->J:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    goto :goto_5

    :cond_c
    const/16 v0, 0x10e

    :try_start_5
    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v1}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v1

    const-string/jumbo v2, "rotation"

    const/16 v3, 0xb4

    invoke-virtual {v1, v2, v3}, Landroid/hardware/Camera$Parameters;->set(Ljava/lang/String;I)V

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v2, v1}, Landroid/hardware/Camera;->setParameters(Landroid/hardware/Camera$Parameters;)V
    :try_end_5
    .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_1

    goto :goto_7

    :sswitch_6
    :try_start_6
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_d

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->stopPreview()V

    :cond_d
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->d()V

    const-string/jumbo v0, "take_photo_flashtype"

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(ILjava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->startPreview()V
    :try_end_6
    .catch Ljava/lang/Exception; {:try_start_6 .. :try_end_6} :catch_2

    goto/16 :goto_0

    :catch_2
    move-exception v0

    goto/16 :goto_0

    :sswitch_7
    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o:Landroid/widget/SeekBar;

    invoke-virtual {v2}, Landroid/widget/SeekBar;->getProgress()I

    move-result v2

    add-int/lit8 v2, v2, -0xa

    if-gez v2, :cond_11

    :goto_8
    if-le v1, v0, :cond_10

    :goto_9
    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o:Landroid/widget/SeekBar;

    invoke-virtual {v1, v0}, Landroid/widget/SeekBar;->setProgress(I)V

    goto/16 :goto_0

    :sswitch_8
    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o:Landroid/widget/SeekBar;

    invoke-virtual {v2}, Landroid/widget/SeekBar;->getProgress()I

    move-result v2

    add-int/lit8 v2, v2, 0xa

    if-gez v2, :cond_f

    :goto_a
    if-le v1, v0, :cond_e

    :goto_b
    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o:Landroid/widget/SeekBar;

    invoke-virtual {v1, v0}, Landroid/widget/SeekBar;->setProgress(I)V

    goto/16 :goto_0

    :catch_3
    move-exception v0

    goto/16 :goto_6

    :catch_4
    move-exception v0

    goto/16 :goto_4

    :cond_e
    move v0, v1

    goto :goto_b

    :cond_f
    move v1, v2

    goto :goto_a

    :cond_10
    move v0, v1

    goto :goto_9

    :cond_11
    move v1, v2

    goto :goto_8

    :cond_12
    move v0, v2

    goto/16 :goto_7

    :sswitch_data_0
    .sparse-switch
        0x7f0c0013 -> :sswitch_3
        0x7f0c00a4 -> :sswitch_5
        0x7f0c00a5 -> :sswitch_6
        0x7f0c00a7 -> :sswitch_7
        0x7f0c00a9 -> :sswitch_8
        0x7f0c00aa -> :sswitch_2
        0x7f0c00ab -> :sswitch_0
        0x7f0c00ac -> :sswitch_4
        0x7f0c00ad -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6

    const/16 v3, 0x400

    const/4 v5, 0x3

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0, v2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->requestWindowFeature(I)Z

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    invoke-virtual {v0, v3, v3}, Landroid/view/Window;->setFlags(II)V

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getWindow()Landroid/view/Window;

    move-result-object v0

    const/16 v3, 0x80

    invoke-virtual {v0, v3}, Landroid/view/Window;->addFlags(I)V

    const v0, 0x7f03001a

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->setContentView(I)V

    const-string/jumbo v0, "useBigPicsize"

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->C:Z

    const-string/jumbo v0, "take_photo_flashtype"

    const-string/jumbo v3, "AUTO"

    invoke-static {p0, v0, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v3, "isWaterMark"

    invoke-virtual {v0, v3}, Landroid/content/Intent;->hasExtra(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v3, "isWaterMark"

    invoke-virtual {v0, v3, v1}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    :goto_0
    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    const-string/jumbo v3, "pwidth"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v3

    iput v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->u:I

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->N:Ljava/util/ArrayList;

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->O:Ljava/util/ArrayList;

    const-string/jumbo v3, "localPhotoList"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getStringArrayList(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v3

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->N:Ljava/util/ArrayList;

    const-string/jumbo v4, "localPhotoList"

    invoke-virtual {v0, v4}, Landroid/os/Bundle;->getStringArrayList(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    :cond_0
    iput-boolean v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->A:Z

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v4, Lcom/fiberhome/gaea/client/b/a/a;->d:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v4, "/"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    const-string/jumbo v3, "viewId"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->B:Ljava/lang/String;

    const-string/jumbo v3, "singleMode"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;)Z

    move-result v3

    iput-boolean v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->L:Z

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    invoke-virtual {v3, p0}, Lcom/waiqin365/base/login/mainview/a;->o(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->X:Ljava/lang/String;

    const-string/jumbo v3, "photoType"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Y:Ljava/lang/String;

    const-string/jumbo v3, "customerName"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Z:Ljava/lang/String;

    const-string/jumbo v3, "cmLocation"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->aa:Ljava/lang/String;

    const-string/jumbo v3, "nums"

    invoke-virtual {v0, v3}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->al:I

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->am:I

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, "usepath"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    new-instance v3, Ljava/io/File;

    invoke-direct {v3, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3}, Ljava/io/File;->exists()Z

    move-result v4

    if-nez v4, :cond_1

    :try_start_0
    invoke-virtual {v3}, Ljava/io/File;->createNewFile()Z
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    :goto_1
    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->B:Ljava/lang/String;

    invoke-static {v0, v3}, Lcom/fiberhome/gaea/client/d/c;->b(Ljava/lang/String;Ljava/lang/String;)Z

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->B:Ljava/lang/String;

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v3, "/files/"

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->t:Ljava/lang/String;

    new-instance v0, Ljava/io/File;

    iget-object v3, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->s:Ljava/lang/String;

    invoke-direct {v0, v3}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v3

    if-nez v3, :cond_2

    invoke-virtual {v0}, Ljava/io/File;->mkdirs()Z

    :cond_2
    invoke-virtual {p0, v2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->setRequestedOrientation(I)V

    const v0, 0x7f0c00a7

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->R:Landroid/widget/ImageButton;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->R:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00a9

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->S:Landroid/widget/ImageButton;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->S:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00a8

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o:Landroid/widget/SeekBar;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o:Landroid/widget/SeekBar;

    new-instance v3, Lcom/waiqin365/compons/camera/ae;

    invoke-direct {v3, p0}, Lcom/waiqin365/compons/camera/ae;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    invoke-virtual {v0, v3}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    new-instance v0, Landroid/view/ScaleGestureDetector;

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    new-instance v4, Lcom/waiqin365/compons/camera/aq;

    invoke-direct {v4, p0}, Lcom/waiqin365/compons/camera/aq;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    invoke-direct {v0, v3, v4}, Landroid/view/ScaleGestureDetector;-><init>(Landroid/content/Context;Landroid/view/ScaleGestureDetector$OnScaleGestureListener;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->P:Landroid/view/ScaleGestureDetector;

    new-instance v0, Landroid/view/GestureDetector;

    invoke-virtual {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    new-instance v4, Lcom/waiqin365/compons/camera/ap;

    invoke-direct {v4, p0}, Lcom/waiqin365/compons/camera/ap;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V

    invoke-direct {v0, v3, v4}, Landroid/view/GestureDetector;-><init>(Landroid/content/Context;Landroid/view/GestureDetector$OnGestureListener;)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Q:Landroid/view/GestureDetector;

    const v0, 0x7f0c00a2

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/SurfaceView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a:Landroid/view/SurfaceView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a:Landroid/view/SurfaceView;

    invoke-virtual {v0, v1}, Landroid/view/SurfaceView;->setBackgroundColor(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a:Landroid/view/SurfaceView;

    invoke-virtual {v0, p0}, Landroid/view/SurfaceView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a:Landroid/view/SurfaceView;

    invoke-virtual {v0}, Landroid/view/SurfaceView;->getHolder()Landroid/view/SurfaceHolder;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b:Landroid/view/SurfaceHolder;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b:Landroid/view/SurfaceHolder;

    invoke-interface {v0, p0}, Landroid/view/SurfaceHolder;->addCallback(Landroid/view/SurfaceHolder$Callback;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b:Landroid/view/SurfaceHolder;

    invoke-interface {v0, v5}, Landroid/view/SurfaceHolder;->setType(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->b:Landroid/view/SurfaceHolder;

    invoke-interface {v0, v2}, Landroid/view/SurfaceHolder;->setKeepScreenOn(Z)V

    const v0, 0x7f0c00a3

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->g:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c00a6

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->h:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c00a4

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->m:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->m:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00a5

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00ab

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->i:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00aa

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->j:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0013

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00ac

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->l:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00ad

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00ae

    invoke-virtual {p0, v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->r:Landroid/widget/TextView;

    sget v0, Lcom/fiberhome/gaea/client/c/b;->g:I

    sget v2, Lcom/fiberhome/gaea/client/c/b;->h:I

    invoke-static {v0, v2}, Ljava/lang/Math;->max(II)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->p:I

    sget v0, Lcom/fiberhome/gaea/client/c/b;->g:I

    sget v2, Lcom/fiberhome/gaea/client/c/b;->h:I

    invoke-static {v0, v2}, Ljava/lang/Math;->min(II)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q:I

    new-instance v0, Lcom/waiqin365/compons/camera/ao;

    invoke-direct {v0, p0, p0, v5}, Lcom/waiqin365/compons/camera/ao;-><init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;Landroid/content/Context;I)V

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->canDetectOrientation()Z

    move-result v0

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->v:Lcom/waiqin365/compons/camera/ao;

    invoke-virtual {v0}, Lcom/waiqin365/compons/camera/ao;->enable()V

    :cond_3
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->o()V

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->E:I

    if-gez v0, :cond_4

    iput-boolean v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->G:Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->m:Landroid/widget/ImageView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_4
    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->G:Z

    if-eqz v0, :cond_9

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->E:I

    :goto_2
    iput v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->G:Z

    if-eqz v0, :cond_5

    const-string/jumbo v0, "FRONT"

    iput-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->J:Ljava/lang/String;

    :cond_5
    iget-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    if-eqz v0, :cond_6

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/e;->a(Landroid/app/Activity;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->q()V

    :cond_6
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->c()V

    return-void

    :cond_7
    const-string/jumbo v0, "login_is_watermark"

    const-string/jumbo v3, "0"

    invoke-static {p0, v0, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v3, "0"

    invoke-virtual {v0, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_8

    move v0, v1

    :goto_3
    iput-boolean v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->V:Z

    goto/16 :goto_0

    :cond_8
    move v0, v2

    goto :goto_3

    :catch_0
    move-exception v3

    invoke-virtual {v3}, Ljava/io/IOException;->printStackTrace()V

    goto/16 :goto_1

    :cond_9
    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->F:I

    goto :goto_2
.end method

.method protected onDestroy()V
    .locals 1

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->ai:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->h()V

    :cond_0
    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->k()V

    return-void
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onResume()V

    return-void
.end method

.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->Q:Landroid/view/GestureDetector;

    invoke-virtual {v0, p2}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->P:Landroid/view/ScaleGestureDetector;

    invoke-virtual {v0, p2}, Landroid/view/ScaleGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

    const/4 v0, 0x1

    return v0
.end method

.method public surfaceChanged(Landroid/view/SurfaceHolder;III)V
    .locals 4

    const/16 v0, 0x5a

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v1, :cond_1

    :try_start_0
    sget-object v1, Landroid/os/Build;->MODEL:Ljava/lang/String;

    sget v2, Landroid/os/Build$VERSION;->SDK_INT:I

    const-string/jumbo v3, "Nexus 5X"

    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    const/16 v1, 0x17

    if-lt v2, v1, :cond_0

    new-instance v1, Landroid/hardware/Camera$CameraInfo;

    invoke-direct {v1}, Landroid/hardware/Camera$CameraInfo;-><init>()V

    iget v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    invoke-static {v2, v1}, Landroid/hardware/Camera;->getCameraInfo(ILandroid/hardware/Camera$CameraInfo;)V

    iget v1, v1, Landroid/hardware/Camera$CameraInfo;->facing:I

    const/4 v2, 0x1

    if-ne v1, v2, :cond_2

    :cond_0
    :goto_0
    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v1, v0}, Landroid/hardware/Camera;->setDisplayOrientation(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->startPreview()V

    invoke-direct {p0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->n()V

    :cond_1
    :goto_1
    return-void

    :cond_2
    const/16 v0, 0x10e

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v1}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v1

    const-string/jumbo v2, "rotation"

    const/16 v3, 0xb4

    invoke-virtual {v1, v2, v3}, Landroid/hardware/Camera$Parameters;->set(Ljava/lang/String;I)V

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v2, v1}, Landroid/hardware/Camera;->setParameters(Landroid/hardware/Camera$Parameters;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    goto :goto_1
.end method

.method public surfaceCreated(Landroid/view/SurfaceHolder;)V
    .locals 2

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->I:Landroid/view/SurfaceHolder;

    iget v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->H:I

    iget-object v1, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->K:Ljava/lang/String;

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(ILjava/lang/String;)V

    return-void
.end method

.method public surfaceDestroyed(Landroid/view/SurfaceHolder;)V
    .locals 3

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    if-eqz v0, :cond_0

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/hardware/Camera;->setPreviewCallback(Landroid/hardware/Camera$PreviewCallback;)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->stopPreview()V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    invoke-virtual {v0}, Landroid/hardware/Camera;->release()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    iput-object v2, p0, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->f:Landroid/hardware/Camera;

    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method
